package com.dayu.design.行为型.策略模式;

/**
 * @author dayu
 * @create 2023-12-18 23:29
 */
public class SubtractStrategy implements Strategy {
    @Override
    public int calc(int num1, int num2) {
        return num1 - num2;
    }
}
